package org.jeecg.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yaorange.jxc.goods.entity.GoodsType;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @description:
 * @company: yaorange
 * @author: Andy.Li
 * @Date: 2022.04.28 11:27:30
 */
public interface GoodsTypeMapper extends BaseMapper<GoodsType> {
    @Select("SELECT goods_type_id,goods_type_name ,p_id,goods_type_state FROM tb_goods_type WHERE  p_id=#{pId}")
    List<GoodsType> selectGoodsType(@Param("pId") Integer pId);
}
